package POJO.Model;

import org.springframework.stereotype.Component;

@Component("pagination")
public class Pagination {


    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    int current;
    int pageSize;
    long total;

    /*各个参数设置成空*/
    public  void  setNull()
    {
        this.current=0;
        this.pageSize=0;
        this.total=0;
    }


}
